home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000074_fdc@columbia.edu_Wed Dec 24 14:43:41 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!not-for-mail
  2. From: Frank da Cruz <fdc@columbia.edu>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Problem with increment command
  5. Date: 24 Dec 2003 19:42:45 GMT
  6. Organization: Columbia University
  7. Lines: 32
  8. Message-ID: <slrnbujr1l.5ig.fdc@sesame.cc.columbia.edu>
  9. References: <b97068c6.0312241103.2fd8cac7@posting.google.com>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: sesame.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1072294965 1301 128.59.59.56 (24 Dec 2003 19:42:45 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 24 Dec 2003 19:42:45 GMT
  15. User-Agent: slrn/0.9.7.4 (SunOS)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14755
  17.  
  18. In article <b97068c6.0312241103.2fd8cac7@posting.google.com>,
  19. Kent W. Martin wrote:
  20. : I'm running Kermit 95 1.1.20 on a Windows 2000 server.  Every several
  21. : months (yes, it's that infrequent!)...
  22. :
  23. Hmmmm, then a bit hard to reproduce!
  24.  
  25.  one of my scripts has an error
  26. : with an increment statement.
  27. : Code with comments and extraneous stuff removed:
  28. :   local secsToAdd baseTime
  29. :   assign secsToAdd \Ftod2secs(...)
  30. :   assign baseTime \Ftod2secs(...)
  31. :   echo {secsToAdd: "\m(secsToAdd)".}
  32. :   echo {baseTime: "\m(baseTime)".}
  33. :   increment baseTime \m(secsToAdd)
  34. :   echo {baseTime: "\m(baseTime)".}
  35. : Results:
  36. :   secsToAdd: "88".
  37. :   baseTime: "16509".
  38. :   baseTime: "1659Q".
  39. : Last time I checked 16509+88=16597.  Not sure where 1659Q comes from. 
  40. : Any ideas what could be happening here?  Meanwhile I'll check on
  41. : moving this script over to the latest version of Kermit95.
  42. Could you do that first?  Then if it doesn't happen any more, we're done :-)
  43.  
  44. - Frank
  45.